package com.mutouren.common.orm;

import java.util.List;

public interface BaseDao<T> {
	
	String getNameSpace(String statement);
	String getCfgName();
	
	T get(Object paramId);
	T get(Object paramId, Transcation trans);
	List<T> select(Object parameter);
	List<T> select(Object parameter, Transcation trans);
	
	void insert(T paramT);
	void insert(T paramT, Transcation trans);
	int update(T paramT);
	int update(T paramT, Transcation trans);
}
